// 页头导航条
$(document).on('click','.nav-list i',function (e) {
    $('.list-shape').show();
    $(document).one('click',function () {
        $('.list-shape').hide();
    })
})
$('.list-shape').on('click',function (e) {
    e.stopPropagation();
})

//复选框
$(document).on('click', '.radio-box', function () {
    var $this = $(this);
    var disabledClick = $this.parents('.radio-con');
    if (disabledClick.hasClass('disabled-click')) {
        return false;
    }
    $this.find('.radio-input').addClass('radio-selected');
    $this.find('.radio-input input').prop("checked", true);
    $this.siblings().find('.radio-input').removeClass('radio-selected');
    $this.siblings().find('.radio-input input').prop("checked", false);
});
//复选框 end
$(document).on('click', '.check-box input', function () {
    var $this = $(this);
    var flag = $this.prop('checked');
    var boxCheck = $this.parent('.check-box');
    if (flag) {
        boxCheck.find('.check-style').addClass('checkedItem')
    } else {
        boxCheck.find('.check-style').removeClass('checkedItem')
    }
});
$(document).on('click','.close-btn',function () {
    $('.popup').hide();
});
$(document).on('click','.single-buy',function () {
    $('.goods-popup').show();
})

$(document).on('click','#myAddrs',function () {
    $(this).parents('.popup-con').siblings('.popup-btn').hide();
})
$(document).on('click','.scs_btn',function () {
    $('.popup-btn').show();
})
$(document).on('click','.close-wrap',function () {
    $('.popup-rule').hide();
})
$(document).on('click','.js-rule',function () {
    $('.popup-rule').show();
})
$(document).on('click','.join-group',function () {
    $(this).parents('.content-wrap').siblings('.share-img').hide();
    // $('.share-img').show();
})
